#!/bin/sh

vlc -vvv v4l2:///dev/video0 --file-caching=800 :input-slave=alsa:// :v4l2-standard=0 '--sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=aac}:duplicate{dst=rtp{dst=localhost,port=1234,sdp=rtsp://localhost:8088/vlc.sdp}}'
